<?php namespace Summer\Shop\Updates;

use Schema;
use Winter\Storm\Database\Updates\Migration;

class BuilderTableUpdateSummerShopOrderItmes2 extends Migration
{
    public function up()
    {
        Schema::table('summer_shop_order_itmes', function($table)
        {
            $table->decimal('pv', 14, 2)->nullable()->default(0.00);
        });
    }
    
    public function down()
    {
        Schema::table('summer_shop_order_itmes', function($table)
        {
            $table->dropColumn('pv');
        });
    }
}
